<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="步骤2：注册openGauss集群">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="opengauss-0010.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="opengauss-0011">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>步骤2：注册openGauss集群</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="opengauss-0011"></a><a name="opengauss-0011"></a>
  <h1 class="topictitle1">步骤2：注册openGauss集群</h1>
  <div>
   <p>执行openGauss数据库或实例备份恢复时，系统将自动扫描出openGauss数据库和实例，无需手动将openGauss集群注册至<span>本产品</span>。</p>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <p>注册openGauss集群前，openGauss集群所有节点需安装ProtectAgent，具体请参考<span>《ProtectAgent安装指南》</span>。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="opengauss-0011__zh-cn_topic_0000001839142377_uicontrol3409635183613">“<span id="opengauss-0011__zh-cn_topic_0000001839142377_text94091435113619">保护</span> &gt; 数据库 &gt; openGauss”</span>。</span></li>
     <li><span>选择<span class="uicontrol">“<span>集群</span>”</span>页签。</span></li>
     <li><span>单击<span class="uicontrol">“<span>注册</span>”</span>，注册openGauss集群。</span></li>
     <li><span>配置集群认证信息。</span><p></p><p>相关参数说明如<a href="#opengauss-0011__zh-cn_topic_0000001311214069_table241515964115">表1</a>所示。</p>
      <div class="tablenoborder">
       <a name="opengauss-0011__zh-cn_topic_0000001311214069_table241515964115"></a><a name="zh-cn_topic_0000001311214069_table241515964115"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="opengauss-0011__zh-cn_topic_0000001311214069_table241515964115" frame="border" border="1" rules="all">
        <caption>
         <b>表1 </b>openGauss集群注册信息
        </caption>
        <colgroup>
         <col style="width:25.629999999999995%">
         <col style="width:74.37%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="25.629999999999995%" id="mcps1.3.3.2.4.2.2.2.3.1.1"><p>参数</p></th>
          <th align="left" class="cellrowborder" valign="top" width="74.37%" id="mcps1.3.3.2.4.2.2.2.3.1.2"><p>说明</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p><span>名称</span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><p>自定义实例名称。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p><span>用户名</span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><p>运行数据库的操作系统用户名。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p><span>类型</span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><p>集群类型可选择<span>单机</span>或<span>主备复制</span>。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p><span>环境变量文件路径</span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><p>数据库安装时，若为分离式部署场景需指定该路径。</p>
           <div class="note">
            <span class="notetitle"> 说明： </span>
            <div class="notebody">
             <p id="opengauss-0011__zh-cn_topic_0000001607543334_p4275815161710">该路径是用户进行分离式部署时自行设置的环境配置文件路径。</p>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.4.2.2.2.3.1.1 "><p><span>节点</span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.3.2.4.2.2.2.3.1.2 "><p>openGauss实例所在主机。</p>
           <div class="note">
            <span class="notetitle"> 说明： </span>
            <div class="notebody">
             <p>所选节点必须已安装openGauss数据库，并属于同一集群。</p>
            </div>
           </div></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li><span>单击<span class="uicontrol">“确定”</span>。</span></li>
    </ol>
    <div class="note">
     <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
     <div class="notebody">
      <ul>
       <li>集群注册成功后，系统会自动扫描，每5分钟扫描一次，获取实例与数据库的信息。</li>
      </ul>
      <ul>
       <li>用户也可以手动扫描，在<span class="uicontrol">“<span>集群</span>”</span>页签，集群所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>资源扫描</span>”</span>，获取实例和数据库信息。</li>
      </ul>
     </div>
    </div>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="opengauss-0010.html">备份openGauss</a>
    </div>
   </div>
  </div>
 </body>
</html>